package com.ssy.lingxi.member.merchant.model.vo.platform.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;

/**
 * 平台后台 - 会员角色权限 - 修改角色权限的菜单和按钮
 * @author 万宁
 * @version 2.0.0
 * @date 2022-04-15
 */
public class PlatformRoleAuthUpdateVO implements Serializable {
    private static final long serialVersionUID = -5703028621376293578L;

    /**
     * 左侧菜单Id
     */
    @NotNull(message = "菜单Id要大于0")
    @Positive(message = "菜单Id要大于0")
    private Long menuId;

    /**
     * 勾选标记
     */
    @NotNull(message = "菜单勾选标记不能为空")
    private Boolean checked;

    /**
     * 按钮Id列表
     */
    private List<Long> buttonIds;

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public List<Long> getButtonIds() {
        return buttonIds;
    }

    public void setButtonIds(List<Long> buttonIds) {
        this.buttonIds = buttonIds;
    }
}
